package com.haoan.index.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.haoan.common.annotation.Excel;
import com.haoan.index.base.BaseEntity;

/**
 * 美食对象 web_food
 *
 * @author autoGen
 * @date 2025-02-21
 */
@Data
@Schema(description = "美食")
@TableName("web_food")
public class Food extends BaseEntity implements Serializable
{
    private static final long serialVersionUID=1L;

    /** $column.columnComment */
    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "PK_web_food")
    @ApiParam(name = "id",value = "PK_web_food")
    private Long id;

    /** 文物名称 */
    @Schema(description = "美食-文物名称")
    @ApiParam(name = "name",value = "美食-文物名称")
    @Excel(name = "文物名称")
    @TableField(value = "`name`")
    private String name;

    /** 类型 */
    @Schema(description = "美食-类型")
    @ApiParam(name = "foodType",value = "美食-类型")
    @Excel(name = "类型")
    @TableField(value = "`food_type`")
    private String foodType;

    /** 图片 */
    @Schema(description = "美食-图片")
    @ApiParam(name = "picture",value = "美食-图片")
    @Excel(name = "图片")
    @TableField(value = "`picture`")
    private String picture;

    /** 时代 */
    @Schema(description = "美食-时代")
    @ApiParam(name = "era",value = "美食-时代")
    @Excel(name = "时代")
    @TableField(value = "`era`")
    private String era;

    /** 质地 */
    @Schema(description = "美食-质地")
    @ApiParam(name = "texture",value = "美食-质地")
    @Excel(name = "质地")
    @TableField(value = "`texture`")
    private String texture;

    /** 地区 */
    @Schema(description = "美食-地区")
    @ApiParam(name = "region",value = "美食-地区")
    @Excel(name = "地区")
    @TableField(value = "`region`")
    private String region;

    /** 所在地址 */
    @Schema(description = "美食-所在地址")
    @ApiParam(name = "address",value = "美食-所在地址")
    @Excel(name = "所在地址")
    @TableField(value = "`address`")
    private String address;

    /** 票价 */
    @Schema(description = "美食-票价")
    @ApiParam(name = "price",value = "美食-票价")
    @Excel(name = "票价")
    @TableField(value = "`price`")
    private BigDecimal price;

    /** 详情 */
    @Schema(description = "美食-详情")
    @ApiParam(name = "detail",value = "美食-详情")
    @Excel(name = "详情")
    @TableField(value = "`detail`")
    private String detail;

    /** 点赞数 */
    @Schema(description = "美食-点赞数")
    @ApiParam(name = "likes",value = "美食-点赞数")
    @Excel(name = "点赞数")
    @TableField(value = "`likes`")
    private Long likes;

    /** 创建时间 */
    @TableField(value = "`create_time`")
    private Date createTime;

    /** 创建人 */
    @TableField(value = "`create_by`", fill = FieldFill.INSERT)
    private String createBy;

    /** 修改时间 */
    @TableField(value = "`update_time`")
    private Date updateTime;

    /** 修改人 */
    @TableField(value = "`update_by`", fill = FieldFill.INSERT_UPDATE)
    private String updateBy;

    /** 有效标志1有效0无效(无效数据任何地方不可见) */
    @Schema(description = "美食-有效标志1有效0无效(无效数据任何地方不可见)")
    @ApiParam(name = "valiFlag",value = "美食-有效标志1有效0无效(无效数据任何地方不可见)")
    @Excel(name = "有效标志1有效0无效(无效数据任何地方不可见)")
    @TableField(value = "`vali_flag`")
    private Integer valiFlag;


}

